package com.lanyou.cook.web.param;

import java.sql.Date;

import org.springframework.format.annotation.DateTimeFormat;

import com.lanyou.cook.common.Constants;

public class InterfaceScheduleParam {
	private boolean pass;
	private String id;
	private String name;
	private String interfaceName;
	private String fieldId;
	private String fieldSystemId;
	private String systemInterfaceId;
	private int runCyc;
	private String runWay;
	private String ifSet;
	private int overTimes;
	private String sendEmailType;//异常邮件发送类型1：实时；0：定时
	
	private String errSendToFail;//错误发送者邮箱失效通知人
	
	private Integer maxSendEmailNum;//连续失败发送邮件上限
	
	private String isAgainExecutJob;//是否在失败后自动调度1：是，0：否
	
	public boolean isPass() {
		return pass;
	}

	public void setPass(boolean pass) {
		this.pass = pass;
	}

	// 周执行日
	private String dayOfWeek;
		// 执行状态
	private String runStatus;
		// 开始日期
	private String beginTime;
		// 结束日期
	private String endTime; 
	// 错误通知者
	private String errSendTo;
	
	private String remark;
	
	
	
	

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getIfSet() {
		return ifSet;
	}

	public void setIfSet(String ifSet) {
		this.ifSet = ifSet;
	}

	public Date getBeginOfCreateTime() {
		return beginOfCreateTime;
	}

	public void setBeginOfCreateTime(Date beginOfCreateTime) {
		this.beginOfCreateTime = beginOfCreateTime;
	}

	public Date getEndOfCreateTime() {
		return endOfCreateTime;
	}

	public void setEndOfCreateTime(Date endOfCreateTime) {
		this.endOfCreateTime = endOfCreateTime;
	}

	@DateTimeFormat(pattern = Constants.DATETIME_PATTERN_1)
	private Date beginOfCreateTime;
	
	@DateTimeFormat(pattern = Constants.DATETIME_PATTERN_1)
	private Date endOfCreateTime;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getInterfaceName() {
		return interfaceName;
	}

	public void setInterfaceName(String interfaceName) {
		this.interfaceName = interfaceName;
	}

	public String getFieldId() {
		return fieldId;
	}

	public void setFieldId(String fieldId) {
		this.fieldId = fieldId;
	}

	public String getFieldSystemId() {
		return fieldSystemId;
	}

	public void setFieldSystemId(String fieldSystemId) {
		this.fieldSystemId = fieldSystemId;
	}
	
	

	public String getSystemInterfaceId() {
		return systemInterfaceId;
	}

	public void setSystemInterfaceId(String systemInterfaceId) {
		this.systemInterfaceId = systemInterfaceId;
	}

	public int getRunCyc() {
		return runCyc;
	}

	public void setRunCyc(int runCyc) {
		this.runCyc = runCyc;
	}

	public String getRunWay() {
		return runWay;
	}

	public void setRunWay(String runWay) {
		this.runWay = runWay;
	}

	public String getDayOfWeek() {
		return dayOfWeek;
	}

	public void setDayOfWeek(String dayOfWeek) {
		this.dayOfWeek = dayOfWeek;
	}

	public String getRunStatus() {
		return runStatus;
	}

	public void setRunStatus(String runStatus) {
		this.runStatus = runStatus;
	}

	public String getBeginTime() {
		return beginTime;
	}

	public void setBeginTime(String beginTime) {
		this.beginTime = beginTime;
	}

	public String getEndTime() {
		return endTime;
	}

	public void setEndTime(String endTime) {
		this.endTime = endTime;
	}

	public String getErrSendTo() {
		return errSendTo;
	}

	public void setErrSendTo(String errSendTo) {
		this.errSendTo = errSendTo;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public int getOverTimes() {
		return overTimes;
	}

	public void setOverTimes(int overTimes) {
		this.overTimes = overTimes;
	}

	public String getSendEmailType() {
		return sendEmailType;
	}

	public void setSendEmailType(String sendEmailType) {
		this.sendEmailType = sendEmailType;
	}

	public String getErrSendToFail() {
		return errSendToFail;
	}

	public void setErrSendToFail(String errSendToFail) {
		this.errSendToFail = errSendToFail;
	}

	public Integer getMaxSendEmailNum() {
		return maxSendEmailNum;
	}

	public void setMaxSendEmailNum(Integer maxSendEmailNum) {
		this.maxSendEmailNum = maxSendEmailNum;
	}

	public String getIsAgainExecutJob() {
		return isAgainExecutJob;
	}

	public void setIsAgainExecutJob(String isAgainExecutJob) {
		this.isAgainExecutJob = isAgainExecutJob;
	}
	
	
	
	

}